#pragma once
#include<string>
#include<iostream>
#include<stdio.h>
#include<string.h>
using namespace std;

#define DEBUG 1
#define NOTICES 2
#define Warning 3
#define Error 4

const std::string meg[]={
    "DEBUG",
    "NOTICES",
    "Warning",
    "Error"
};

std::ostream& Log(std::string meg,int level)
{
    std::cout<<" | "<<(unsigned)time(0)<<" | "<<meg[level]<<" | "<<endl;
    return std::cout;
}
